21b16732a1c0628c8817a27f1a493847ff2987e5,src/gate/plugin/learningframework/data/CorpusRepresentation.java,CorpusRepresentation,export,#CorpusRepresentationMallet#Exporter#File#String#,47

Before Change


    } else if(action == Exporter.EXPORTER_LIBSVM_CLASS) {
      System.err.println("Exporting for classification as LibSVM to "+directory);
      CorpusRepresentationLibSVM crl = new CorpusRepresentationLibSVM(crm);
      crl.export(directory, parms);
    } else {
      // NOTE: if we start to get lots more representations and export formats, maybe
      // we should do this by reflection somehow ...

After Change


      info.modelClass =  "todo.do.not.know.yet";
      info.algorithmName = "LIBSVM_CL_DUMMY";
      CorpusRepresentationLibSVM crl = new CorpusRepresentationLibSVM(crm);
      crl.export(directory, parms);
    } else if(action == Exporter.EXPORTER_LIBSVM_REGRESSION) {
      System.err.println("Exporting for regression as LibSVM to "+directory);
      info.algorithmClass = "gate.plugin.learningframework.engines.AlgorithmRegression";